*{padding: 0; margin: 0;}
a{text-decoration: none; color: rgb(53, 52, 52);}
.container{
    width: 1200px;
    margin: 50px auto;
    position: relative;
}
.container .logo{
    margin-bottom: 20px;
}

.container .cart-list{
    width: 100%;
}
.container .cart-list table{
    width: 100%;
    text-align: center;
}
.container .cart-list table tr{
    line-height: 40px;
}
.container .cart-list table tr th,td{
    border-bottom: 1px dotted rgb(65, 64, 64);
}

.container .cart-list table input[name="minus"],input[name="plus"]{
    width: 20px;
}
.container .cart-list table input[name="amount"]{
    width: 40px;
    text-align: center;
}
.container .cart-list table img{
    width: 100px;
    height: 100px;
}
.container .cart-list h2{
    text-align: right;
    padding-right: 100px;
    font-size: 18px;
}
.container .cart-list h2 span{
    color: red;
}

/* 表单样式 */
.container .cart-add{
    position: fixed;
    top: 150px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    background-color: #f1e7e9;
    text-align: right;
}
.container .cart-add .close{
    display:inline-block;
    width: 20px;
    height: 20px;
    padding-top: 15px;
    padding-right: 15px;
}
.container form{
    width: 500px;
    line-height: 60px;
    margin: 5px auto;
    padding: 30px;
    text-align: center;
}
.container form input{
    width: 100%;
    height: 40px;
}
.container form button{
    width: 200px;
    height: 40px;
    background-color: rgb(218, 182, 188);
    text-align: center;
    line-height: 40px;
    border: none;
    outline: none;
}
.container form button:hover{
    background-color: #f7c7cf;
    cursor: pointer;
}
